package cn.cycleif.app.domain.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @Date: 25/2/10-23:40
 * @Desc:
 */
@Data
public class UserChangeMailDTO {

  @NotNull
  private Integer id;
  private String  passwd;

  @Email
  @NotNull
  @Size(min = 1)
  private String email;
}
